package com.bt.table.ppt;

/**
 * Ret_rul_verId entity. @author MyEclipse Persistence Tools
 */

public class Ret_rul_verId implements java.io.Serializable {

	// Fields

	private String rul_mdl_id;
	private String rul_mdl_ver;

	// Constructors

	/** default constructor */
	public Ret_rul_verId() {
	}

	/** full constructor */
	public Ret_rul_verId(String rul_mdl_id, String rul_mdl_ver) {
		this.rul_mdl_id = rul_mdl_id;
		this.rul_mdl_ver = rul_mdl_ver;
	}

	// Property accessors

	public String getRul_mdl_id() {
		return this.rul_mdl_id;
	}

	public void setRul_mdl_id(String rul_mdl_id) {
		this.rul_mdl_id = rul_mdl_id;
	}

	public String getRul_mdl_ver() {
		return this.rul_mdl_ver;
	}

	public void setRul_mdl_ver(String rul_mdl_ver) {
		this.rul_mdl_ver = rul_mdl_ver;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Ret_rul_verId))
			return false;
		Ret_rul_verId castOther = (Ret_rul_verId) other;

		return ((this.getRul_mdl_id() == castOther.getRul_mdl_id()) || (this
				.getRul_mdl_id() != null && castOther.getRul_mdl_id() != null && this
				.getRul_mdl_id().equals(castOther.getRul_mdl_id())))
				&& ((this.getRul_mdl_ver() == castOther.getRul_mdl_ver()) || (this
						.getRul_mdl_ver() != null
						&& castOther.getRul_mdl_ver() != null && this
						.getRul_mdl_ver().equals(castOther.getRul_mdl_ver())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getRul_mdl_id() == null ? 0 : this.getRul_mdl_id()
						.hashCode());
		result = 37
				* result
				+ (getRul_mdl_ver() == null ? 0 : this.getRul_mdl_ver()
						.hashCode());
		return result;
	}

}